package cn.shengchao.examstar.pay.model.service.fy.request;

import cn.shengchao.examstar.pay.model.service.fy.ParamName;

public class FuYouAuthUrlParameters extends BaseFuYouRequest {
    @ParamName("ins_cd")
    private String insCd;
    @ParamName("mchnt_cd")
    private String mchntCd;
    @ParamName("type")
    private String type;
    @ParamName("appid")
    private String appid = "";
    @ParamName("redirect_uri")
    private String redirectUri;

    public FuYouAuthUrlParameters(String insCd, String mchntCd, String type, String appid, String redirectUri) {
        this.insCd = insCd;
        this.mchntCd = mchntCd;
        this.type = type;
        this.appid = (appid == null || appid.isEmpty()) ? "" : appid;
        this.redirectUri = redirectUri;
    }

    public String getInsCd() { return insCd; }
    public void setInsCd(String insCd) { this.insCd = insCd; }
    public String getMchntCd() { return mchntCd; }
    public void setMchntCd(String mchntCd) { this.mchntCd = mchntCd; }
    public String getType() { return type; }
    public void setType(String type) { this.type = type; }
    public String getAppid() { return appid; }
    public void setAppid(String appid) { this.appid = (appid == null || appid.isEmpty()) ? "" : appid; }
    public String getRedirectUri() { return redirectUri; }
    public void setRedirectUri(String redirectUri) { this.redirectUri = redirectUri; }
}
